package com.hospital.ecard.xmlutils;

import com.hospital.common.core.module.entity.ecard.AuthKey;

/**
 * @author lvyao
 * @description AuthKey转xml
 * @date 2020/7/1
 */
public class AuthKeySoapXmlUtils {
    public static StringBuffer getAuthKeySoapXml(AuthKey authKey, String methodName) {

        String entityBody = "         <orgCode>" + authKey.getOrgCode() + "</orgCode>\n";
        entityBody += "         <userName>" + authKey.getUserName() + "</userName>\n";
        entityBody += "         <passWord>" + authKey.getPassWord() + "</passWord>\n";
        return BaseSoapXmlUtils.getBaseSoapXmlUtils(methodName, entityBody);
    }
}
